hipreme_engine ~master (2025-09-27T13:37:43Z)
Dub
Repo
HipWorkerThread
hip
concurrency
thread
Undocumented in source.
class
HipWorkerThread
class
HipWorkerThread
static if
(!(
HipConcurrency
))
class
HipWorkerThread {
struct
WorkerTask
;
WorkerTask
[]
tasks
;
this
(HipWorkerPool pool, ulong id);
void
pushTask
(string name, void delegate() task, void delegate(string taskName) onTaskFinish);
void
startWorking
();
bool
isIdle
();
}
Constructors
this
this
(HipWorkerPool pool, ulong id)
Undocumented in source.
Members
Functions
isIdle
bool
isIdle
()
Undocumented in source. Be warned that the author may not have intended to support it.
pushTask
void
pushTask
(string name, void delegate() task, void delegate(string taskName) onTaskFinish)
Undocumented in source. Be warned that the author may not have intended to support it.
startWorking
void
startWorking
()
Undocumented in source. Be warned that the author may not have intended to support it.
Structs
WorkerTask
struct
WorkerTask
Undocumented in source.
Variables
tasks
WorkerTask
[]
tasks
;
Undocumented in source.
Meta
Source
See Implementation
hip
concurrency
thread
classes
HipWorkerPool
HipWorkerThread